Skip to content

fix: Max characters text height#1205

Merged
mariush2 merged 5 commits into
mainfrom
fix/max-characters-height
Jan 12, 2026
Merged

fix: Max characters text height#1205
mariush2 merged 5 commits into
mainfrom
fix/max-characters-height

Conversation

@mariush2
Copy link
Copy Markdown
Contributor

Fixing text height

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a text height issue in the TextField component when the maxCharacters feature is used. The fix ensures proper spacing and layout by adding a height: fit-content CSS property and conditional bottom margin based on whether helper text is present.

Changes:

  • Added height: fit-content to the TextField Wrapper component to prevent height issues
  • Added conditional marginBottom styling to accommodate the MaxCharacters text positioning when no helper text is present
  • Bumped package version from 10.9.0 to 10.9.1

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/molecules/TextField/TextField.tsx Added height fix and conditional margin for MaxCharacters text display
package.json Version bump to 10.9.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/molecules/TextField/TextField.tsx
Comment thread src/molecules/TextField/TextField.tsx Outdated
mariush2 and others added 2 commits January 12, 2026 12:11
Copilot AI review requested due to automatic review settings January 12, 2026 11:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/molecules/TextField/TextField.tsx
Comment thread src/molecules/TextField/TextField.tsx
Comment thread src/molecules/TextField/TextField.tsx
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 12, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 99.98% (🎯 100%) 16687 / 16689
🔵 Statements 99.98% (🎯 100%) 16687 / 16689
🔵 Functions 99.91% (🎯 100%) 1208 / 1209
🔵 Branches 100% (🎯 100%) 4175 / 4175
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/molecules/TextField/TextField.tsx 100% 100% 100% 100%
Generated in workflow #2058 for commit 2749700 by the Vitest Coverage Report Action

@mariush2 mariush2 merged commit e8a2742 into main Jan 12, 2026
16 of 17 checks passed
@mariush2 mariush2 deleted the fix/max-characters-height branch January 12, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants